import request from '@/utils/request'

// 列表
export function getGroupInviteList(query) {
	return request({
		url: '/bot/group/invite/list',
		method: 'get',
		params: query
	})
}

// 列表
export function getOneOfUser(query) {
	return request({
		url: '/bot/group/invite/getOneOfUser',
		method: 'get',
		params: query
	})
}

// 列表
export function getOneOfReview(query) {
	return request({
		url: '/bot/group/invite/getOneOfReview',
		method: 'get',
		params: query
	})
}

// 列表
export function getGroupOfUser(query) {
	return request({
		url: '/bot/group/invite/getGroupOfUser',
		method: 'get',
		params: query
	})
}

// 新增
export function addGroupInvite(data) {
	return request({
		url: '/bot/group/invite/add',
		method: 'post',
		data: data
	})
}

// 更新
export function updateGroupInvite(data) {
	return request({
		url: '/bot/group/invite/update',
		method: 'post',
		data: data
	})
}

// 删除
export function removeGroupInvite(data) {
	return request({
		url: '/bot/group/invite/remove',
		method: 'post',
		data: data
	})
}